// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "BaseCharacter.h"
#include "PlayerCharacter.generated.h"

UENUM(BlueprintType)
enum class EStatus : uint8
{
	ES_Normal UMETA(DisplayName = "Normal"),
	ES_Run UMETA(DisplayName = "Run"),
	ES_Sprint UMETA(DisplayName = "Sprint"),
};

/**
 * 
 */
UCLASS()
class GAMETESTG_API APlayerCharacter : public ABaseCharacter
{
	GENERATED_BODY()
	
//#if 1 /*function*/
public:
	APlayerCharacter();
	UPROPERTY(EditAnywhere,BlueprintReadWrite)
	float SprintSpeed;
	UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
	EStatus CurrentStatus;
	UFUNCTION()
	void SetStatus(EStatus Status);
	UFUNCTION()
	void BeginSprint();
	UFUNCTION()
	void EndSprint();
	UFUNCTION()
	void BeginRun();
	UFUNCTION()
	void EndRun();


	virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
//#endif

};
